package com.ruoyi.backend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统轮播通告列对象 t_announce
 * 
 * @author wjr
 * @date 2025-09-25
 */
public class Announce extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通告id */
    private Integer id;

    /** 通告内容 */
    @Excel(name = "通告内容")
    private String announceContent;

    /** 通告排序 */
    @Excel(name = "通告排序")
    private Integer announceSort;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setAnnounceContent(String announceContent) 
    {
        this.announceContent = announceContent;
    }

    public String getAnnounceContent() 
    {
        return announceContent;
    }

    public void setAnnounceSort(Integer announceSort) 
    {
        this.announceSort = announceSort;
    }

    public Integer getAnnounceSort() 
    {
        return announceSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("announceContent", getAnnounceContent())
            .append("announceSort", getAnnounceSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
